<template>
  <div>
    <el-link type="primary">主要链接</el-link>
    <el-pagination background layout="prev, pager, next" :total="1000">
    </el-pagination>

    <el-button type="primary" @click="change('02abfd')">02abfd</el-button>
    <el-button type="primary" @click="change('deeppink')">deeppink</el-button>
    <el-button type="primary" @click="change('orange')">orange</el-button>
    <el-button type="primary" @click="change('FF6600')">FF6600</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    change(color) {
      this.$store.commit("setThemeColor", color);
    },
  },
};
</script>
